#include"ThreadPool.hpp"

int main()
{
    // EnableConsolseSyncStrategy();
    EnableConsolseSyncStrategy();
    // std::unique_ptr<ThreadPool<int>> ptr=std::make_unique<ThreadPool<int>>();
    // ptr->EnQueue(1);
    // ptr->Start();
    // ptr->Wait();
    ThreadPool<int>::GetInstance()->EnQueue(1);
    ThreadPool<int>::GetInstance()->Start();
    ThreadPool<int>::GetInstance()->Wait();

    return 0;
}